<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>xpath</title>
</head>
<body>
<ul>
    <li id="l1" class="c1">北京</li>
    <li>上海</li>
    <li>广州</li>
    <a href="" id=""  class="a1">汪苏泷</a>
</ul>
<ul>
    <li id="l2" class="c2">安徽</li>
    <li id="c">河南</li>
    <li>武汉</li>
    <a href="" title="a2">许嵩</a>
</ul>
</body>
</html>